<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="./js/vue.js"></script>
<body>
    <div class="box">
        <ul>
            <li v-for="(value,name,index) in obj" :key="index">{{value}}---{{name}}---{{index}}</li>
        </ul>
    </div>
<script>
    let vm = new Vue({
        el:".box",
        data:{
            obj:{
                name:'一个苹果',
                age:'两个月',
                sex:'红富士',
                hoppy:'太阳'
            }
        }
    })
</script>
</body>
</html>